// all-the-other-stuff manager

#ifndef SERVER_CONTROLLER_H
#define SERVER_CONTROLLER_H

#include "ServerModel.h"
#include "ServerView.h"
#include "NetworkPat.h"

class ServerController: public Controller
{
  public:
    ServerController(Model* m, View* v, NetworkPat* net);
    ~ServerController(void);
    virtual void HandleMessages(std::list<Message*>* l);
    virtual GameState Update(void);
    virtual void PassMessage(Message* msg);
  private:
    void ProcessMessages(void);
    ServerModel* _model;
    ServerView* _view;
    NetworkPat* _net;
    bool mShouldReset;
};

#endif
